﻿// ===============================================================================
// DotNet.Platform 开发框架 2016 版权所有
// ===============================================================================

using System.Collections.Generic;

namespace XNWebModel
{
    public class RealBusModel
    {
        /// <summary>
        /// 文本信息
        /// </summary>
        public string message { get; set; }

        /// <summary>
        /// 刷新间隔
        /// </summary>
        public int interval { get; set; }

        /// <summary>
        /// 上行线路数据
        /// </summary>
        public List<RealBusStationModel> up { get; set; }

        /// <summary>
        /// 下行线路数据
        /// </summary>
        public List<RealBusStationModel> down { get; set; }

        /// <summary>
        /// 其他信息
        /// </summary>
        public object info { get; set; }
    }

    public class RealBusStationModel
    {
        /// <summary>
        /// 站点Id
        /// </summary>
        public string station_id { get; set; }

        /// <summary>
        /// 站点名称
        /// </summary>
        public string station_name { get; set; }

        /// <summary>
        /// 站点序号
        /// </summary>
        public int order_number { get; set; }

        /// <summary>
        /// 单程线路ID(SEGMENTID)
        /// </summary>
        public int running_type { get; set; }

        /// <summary>
        /// 到站车辆编号（由"_"下划线分割）
        /// </summary>
        public string bus_codes { get; set; }

        /// <summary>
        /// 离站车辆编号（由"_"下划线分割）
        /// </summary>
        public string leavebus_codes { get; set; }
    }
}